package com.letter.otools.day.application;

import static com.scwang.smart.refresh.header.ClassicsHeader.REFRESH_HEADER_UPDATE;

import com.letter.otools.day.admob.AdmobUtils;
import com.letter.otools.day.util.AppUtils;

import org.litepal.LitePal;
import org.litepal.LitePalApplication;

public class NfsApplication extends LitePalApplication {

    private static NfsApplication instance;

    public static NfsApplication getInstance() {
        return instance;
    }


    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        AdmobUtils.init(this);
        AppUtils.setNightMode(this,AppUtils.getAppNightMode());
        LitePal.initialize(this);
//        REFRESH_HEADER_UPDATE ="Last Update";
    }
}
